package com.cn.longdistancebusstation.personal;

import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.webkit.WebView;

import com.cn.longdistancebusstation.BuildConfig;
import com.cn.longdistancebusstation.R;
import com.cn.longdistancebusstation.base.BaseActivity;

/**
 * Created by Administrator on 2018/1/19.
 */

public class HelpActivity extends BaseActivity{
    private WebView mWebView;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_help);
        this.getTitleTextView().setText("帮助");
        mWebView = (WebView)findViewById(R.id.webView);
        loadContent();
    }

    private void loadContent(){
        mWebView.loadUrl(BuildConfig.SERVER_URL + "help/index.html");
    }
}
